package com.sixth.health.controller;

import com.sixth.core.entity.TestList;
import com.sixth.core.vo.R;
import com.sixth.health.servict.TestListService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @program: six-hospital-system
 * @description:
 * @author: 朱永奇
 * @create: 2024-08-24 10:40
 **/
@RestController
@RequestMapping("/health/testList")
public class TestListController {
    @Autowired
    private TestListService testListService;
    @ApiOperation(value = "app健康测试列表")
    @GetMapping("/list")
    public R<List<TestList>> list(){
        return testListService.selectAll();
    }
}